﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Spring.Context;
using Spring.Context.Support;

namespace Common
{
    public class IocUtils
    {
        public static object GetObject(string objectId)
        {
            IApplicationContext context = ContextRegistry.GetContext();
            return context.GetObject(objectId);
        }
    }
}
